package cn.stylefeng.guns.modular.business.app.controller.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

@Data
public class GetPayInfoVO implements Serializable {

    private static final long serialVersionUID = -7631806829309727251L;

    /**
     * 商品描述
     */
    @NotBlank(message = "商品描述不能为空")
    private String goodsDesc;

    /**
     * 交易类型：1唤起微信 2微信生成二维码 3唤起支付宝 4支付宝生成二维码
     */
    @NotBlank(message = "交易类型不能为空")
    private String tradeType;

    /**
     * 订单id
     */
    @NotEmpty(message = "订单id不能为空")
    private List<Long> orderIdList;

    /**
     * openId
     */
    private String openId;

    /**
     * 订单唯一标识
     */
    private String orderNo;
}
